package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: lei
 * @Date 2021/11/25 20:10
 **/
@Repository
public interface CustomerDao {

    List<Customer> list(@Param("page") int page, @Param("rows") int rows,@Param("customerName") String customerName);

    void update(Customer customer);


    void insert(Customer customer);

    void delete(@Param("ids") String[] idArr);
}
